package game.metalmax.packet.world {

	import flash.utils.ByteArray;
	
	import game.metalmax.packet.IPacket;

public class EnterSceneRequest implements IPacket{

	// 帐号
	public var email:String;
	// 地图ID
	public var mapID:String;

	public function write(out:ByteArray):void{
		var len:int = 0;
		var i:int = 0;
		out.writeUTF(email==null?"":email);
		out.writeUTF(mapID==null?"":mapID);
	}
	public function read(inn:ByteArray):void{
		var len:int = 0;
		var i:int = 0;
		email = inn.readUTF();
		mapID = inn.readUTF();
}
}
}